<extend name="Base/common"/>

<block name="body">
<!--container start-->
<div class="wrap page-container">
    <!--inner banner start-->
    <div class="inner-banner">
     <?php
    $poster = M('poster')->where( array('spaceid'=>63,'status'=>1) )->select();
    ?>
     <volist name="poster" id="vo">
    <img src="__ROOT__{$vo.thumb|get_cover=###,'path'}" alt="" width="1000px" height="120px">
</volist>
    </div>
    <!--inner banner end-->
    <!--breadcrumb start-->
    <div class="wrap clearfix">
        <div class="breadcrumb">
            <a href="{:U('Index/index')}">首页 > </a><volist name="crumbs" id="vo"><a href="{:U('Article/lists',array('category'=>$vo['id']))}">{$vo.title} <notempty name="crumbs[$key+1]">></notempty></a></volist>
        </div>
    </div>
    <ul class="second">
   <volist name="getTree._" id="vo">
    <li><a href="{:U('Article/lists',array('category'=>$vo['id']))}"<if condition="$_GET['category'] eq $vo.id ">style="background:red"</if>>{$vo.title}</a></li>
    </volist>
   </ul>
    <!--breadcrumb end-->
    <div class="scheme-list-page"><!--不同内页区别的class在这里-->
        <h1 class="headline">{$crumbs['1']['title']}</h1>
        <ul>
        <volist name="list" id="data">
            <li>
                <a href="{:U('Article/detail?id='.$data['id'])}">
                    <div class="img"><img src="__ROOT__{$data.cover_id|get_cover=###,'path'}" alt="" width="100%" height="48px"></div>
                    <h3>{$data.title}</h3>
                    <p>{$data.description}</p>
                </a>
            </li>
          </volist>
        </ul>
        <!--page start-->
        <!-- <div class="page">
            <a href="" class="button first">首页</a>
            <a href="" class="button prev">上一页</a>
            <a href="">1</a>
            <a class="on" href="">2</a>
            <a href="">3</a>
            <a href="">4</a>
            <a href="">5</a>
            <a href="" class="button next">下一页</a>
            <a href="" class="button last">尾页</a>
        </div> -->
        <!--page end-->
        <div class="onethink pagination pagination-right pagination-large">
                <article:page cate="$category['id']" listrow="$category['list_row']" />
        </div>
    </div>
    <div class="page">{$page}</div>
</div>
<!--container end-->
</block>